package com.example.nonacademic_education.service;

import com.example.nonacademic_education.entity.Msg;
import com.example.nonacademic_education.util.R;

public interface MsgService {
    R historyMsg(Long recipientId, Integer page, Integer size, String content, Integer isRead);

    R sendMsg(Msg msg);

    R readMsg(Long msgId);

    R delMsg(Long msgId);

    R getUnread(Long recipientId);

    R searchContacts(String name);
}
